package cn.golxen.rsms.mapper;

import cn.golxen.rsms.bean.entity.UserMain;

public interface UserMapper {
    UserMain getUserMainByPassword(UserMain userMain);
    UserMain getUserMainByMail(String mail);
    UserMain getUserMainById(String id);
    int addUserMain(UserMain userMain);
    int updateUserMain(UserMain userMain);
    UserMain getUserMainByStoreId(int storeId);
    int updateUserMainOpenId(String openId,String userId);
    UserMain getUserMainByOpenId(String openId);
}
